package com.ppd.generator.wrapper;/**
 * Created by abel.lin on 2017/2/24.
 */

import java.io.Serializable;

/**
 * @author abel.lin
 * @date_time 2017/2/24 11:54
 * @description
 */
public class DBTableInfo implements Serializable{
    private Boolean isPrimary=false;
    private String colname;   //数据表字段
    private String colType;   //数据表字段类型
    private String upperColname;  //字段首字母大写
    private String lowerColname;  //字段首字母小写
    private String javaType;   //对应java类型
    private String jdbcType;      //mybatis的xml文件中用到的jdbcType类型

    public String getColType() {
        return colType;
    }

    public void setColType(String colType) {
        this.colType = colType;
    }

    public String getColname() {
        return colname;
    }

    public void setColname(String colname) {
        this.colname = colname;
    }

    public String getUpperColname() {
        return upperColname;
    }

    public void setUpperColname(String upperColname) {
        this.upperColname = upperColname;
    }

    public String getLowerColname() {
        return lowerColname;
    }

    public void setLowerColname(String lowerColname) {
        this.lowerColname = lowerColname;
    }

    public String getJavaType() {
        return javaType;
    }

    public void setJavaType(String javaType) {
        this.javaType = javaType;
    }

    public String getJdbcType() {
        return jdbcType;
    }

    public void setJdbcType(String jdbcType) {
        this.jdbcType = jdbcType;
    }

    public Boolean getPrimary() {
        return isPrimary;
    }

    public void setPrimary(Boolean primary) {
        isPrimary = primary;
    }
}
